package cn.wcy.design_patterns.structuraltype02.adapter01;


import cn.wcy.design_patterns.structuraltype02.adapter01.service.OrderService;

public class InsideOrderService implements OrderAdapterService {

    private OrderService orderService = new OrderService();

    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }

}
